home *** CD-ROM | disk | FTP | other *** search
/ Amiga Mag HDD Backup / Amiga Mag HDD Backup.zip / Amiga Mag HDD Backup / Alexander.img.bin / Alexander.img / ***9.11 All NEWer important / 10.2 / Finch⁄Front Ending C / CanDoMJ < prev    next >
Text File  |  1983-05-04  |  12KB  |  58 lines

  1. FORM??-?DECKANNO???AV-1 Tokens V3??NAME???CanDoMJ?RESO??-???╠┴MJSettings??╠?UserWindow????????y?????????????????????????CanDoMJ??????x????????????a????????????????????????    ??????????
  2. ???????????? ???????
  3. ╠?Go????????y??1???????e???topaz??????????????????????????????????????????  GO  ???????\??? ?????????g?    ???????^?
  4. ??????? ?????????DrawMJPic??GO???
  5. ╠?LowReal???????y????;???????????????o????????????s??? ?????m???-2.9???????\????????? ??????¼???HighReal???ON???
  6. ╠?HighReal????????y????Y???????????????o????????????s??? ?????m???2.9??????\????????? ??????¼???LowImag??ON???
  7. ╠?LowImag???????y????w???????????????o????????????s??? ?????m???-2.0???????\????????? ??????¼???HighImag???ON???
  8. ╠?HighImag????????y????????????????????o????????????s??? ?????m???2.0??????\????????? ??????¼???JReal??ON???
  9. ╠?JImag???????y???┴?╝???????????????o????????????s??? ?????m???0.0??????\????????? ??????¼???LowReal??ON???
  10. ╠?JReal???????y???┴?╟???????????????o????????????s??? ?????m???0.5??????\????????? ??????¼???JImag??ON???
  11. ╠?GoC???????y??????????e???topaz??????????????????????????????????????????  GO C  ???????\??? ?????????g?    ???????^?
  12. ??????? ?????????DrawMJPic??GOC??
  13. ╠?SeeMJPic????????y???????.??h???CanDo:Brushes/CanDoMJButton.br?????.??}???CanDo:Brushes/CanDoMJButton.br???????g????????^???????? ?????????DrawMJPic??SEE??
  14. ╠?MaxDwell????????Z????PlotInfo???????e???topaz??????????????????????????????????????????Max Dwell??????u????????g?    ???????~?
  15. ?????
  16. ╠?MD15????????Z????MaxDwell???????e???topaz??????????????????????????????????????????  15 ??????u??? ?????g?    ???????~?
  17. ??1????????S???MaxDwell=15???????¼???MD31???OFF???????¼???MD63???OFF???????¼???MD127??OFF??
  18. ╠?MD31????????Z????MaxDwell???????e???topaz??????????????????????????????????????????  31 ??????u????????g?    ???????~?
  19. ??2????????S???MaxDwell=31???????¼???MD15???OFF???????¼???MD63???OFF???????¼???MD127??OFF??
  20. ╠?MD63????????Z????MaxDwell???????e???topaz??????????????????????????????????????????  63 ??????u????????g?    ???????~?
  21. ??3????????S???MaxDwell=63???????¼???MD15???OFF???????¼???MD31???OFF???????¼???MD127??OFF??
  22. ╠?MD127???????Z????MaxDwell???????e???topaz?????????????????????????????????????????? 127 ??????u????????g?    ???????~?
  23. ??4????????S???MaxDwell=127????????¼???MD15???OFF???????¼???MD31???OFF???????¼???MD63???OFF??
  24. ╠?Resolution????????Z????PlotInfo???????e???topaz??????????????????????????????????????????Resolution???????u????????g?    ???????~?
  25. ?????
  26. ╠?RES1????????Z????Resolution???????e???topaz?????????????????????????????????????????? 1 ??????u??? ?????g?    ???????~?
  27. ??5????????S???Resolution=1????????¼???RES2???OFF???????¼???RES4???OFF???????¼???RES8???OFF??
  28. ╠?PlotType????????Z????PlotInfo???????e???topaz??????????????????????????????????????????Plot Type??????u????????g?    ???????~?
  29. ?????
  30. ╠?Mandelbrot????????Z????PlotType???????e???topaz?????????????????????????????????????????? Mandelbrot ???????u??? ?????g?    ???????~?
  31. ??M????????S???PlotType="M"????????¼???Julia??OFF??
  32. ╠?Julia???????Z????PlotType???????e???topaz??????????????????????????????????????????      Julia ???????u????????g?    ???????~?
  33. ??J????????S???PlotType="J"????? ???¼???Mandelbrot???OFF??
  34. ╠?RES2????????Z????Resolution???????e???topaz?????????????????????????????????????????? 2 ??????u????????g?    ???????~?
  35. ??6????????S???Resolution=2????????¼???RES1???OFF???????¼???RES4???OFF???????¼???RES8???OFF??
  36. ╠?RES4????????Z????Resolution???????e???topaz?????????????????????????????????????????? 4 ??????u????????g?    ???????~?
  37. ??7????????S???Resolution=4????????¼???RES1???OFF???????¼???RES2???OFF???????¼???RES8???OFF??
  38. ╠?RES8????????Z????Resolution???????e???topaz?????????????????????????????????????????? 8 ??????u????????g?    ???????~?
  39. ??8????????S???Resolution=8????????¼???RES1???OFF???????¼???RES2???OFF???????¼???RES4???OFF??
  40. ╠?Default???????Z????PlotInfo???????e???topaz???????????????????????????????????? ??????Default Settings???????u????????g?    ???????~?
  41. ??D????????@???MJSettings???
  42. ?%??????A???Invocation=0????????S???MaxDwell=15???????S???Resolution=1????????S???PlotType="M"????? ???"?????????S???Invocation=1??????:???u??? ;Remove check mark from all menu subitems????????¼???MD15???OFF???????¼???MD31???OFF???????¼???MD63???OFF???????¼???MD127??OFF???????¼???RES1???OFF???????¼???RES2???OFF???????¼???RES4???OFF???????¼?    ??RES8???OFF???? ???¼?
  43. ??Mandelbrot???OFF???????¼? ??Julia??OFF????<???u? ?? ;Put check mark on appropriate menu subitems????$???¼?
  44. ??"MD"||MaxDwell???ON?????&???¼???"RES"||Resolution??ON????????A???PlotType="M"????? ???¼???Mandelbrot???ON????? ????????????¼???Julia??ON????? ???"??????2???u??? ;Set text entries if they changed????????A???Arg1="Reset"????????????LowReal??LR????????????HighReal???HR????????????LowImag??LI????????????HighImag???HI????????????JReal??JR????????????JImag??JI????? ???"?????????╟???CGTimes????????┬??????? ??????⌐????????????┴? ?????:???~?!??MANDELBROT OR JULIA SET BOUNDARIES???å???????╟?"??Pearl?? ??????┬?#???????????⌐?$???????????┴?%?????,???~?&??      Low Real Value:??ï?8???,???~?'??     High Real Value:??ï?V???,???~?(?? Low Imaginary Value:??ï?t???,???~?)??High Imaginary Value:??ï?????(???~?*??Julia Real Value:?? ?¼???(???~?+??Julia Imag Value:?? ????????╟?,??Pearl????????┬?-????????????⌐?.???????????┴?/?????"???~?0??See Picture??I???)DrawMJPic????&???S???LR=TextFrom("LowReal")?????&???S???HR=TextFrom("HighReal")????&???S???LI=TextFrom("LowImag")?????&???S???HI=TextFrom("HighImag")????$???S???JR=TextFrom("JReal")?????$???S???JI=TextFrom("JImag")????? ???@???MJPlotPic??Arg1???
  45. ╠┴MJPlotPic??&╠?UserWindow????????y?????????????@??????????????????x??? ????????a????????????????????????????    ??????????
  46. ???????????? ???????
  47. ╠?NewRange????????y?????????????@???????\????????????????g????????^??????????????S???BeginX=MouseX???????S???BeginY=MouseY???????S???CurrW=0???????S???CurrH=0???????┴??????0??????BeginX???BeginY???CurrW??CurrH?????@???A???MouseX<>(CurrW+BeginX) or MouseY<>(CurrH+BeginY)?????0??????BeginX???BeginY???CurrW??CurrH????"???S???CurrW=MouseX-BeginX????"???S???CurrH=MouseY-BeginY????0??????BeginX???BeginY???CurrW??CurrH???? ???"???? ???0??????BeginX???BeginY???CurrW??CurrH????6???S???Temp=LR+(HR-LR)*BeginX/(WindowWidth-1)?????<???S???HR=LR+(HR-LR)*(BeginX+CurrW)/(WindowWidth-1)????????S???LR=Temp????>???S???Temp=HI-(HI-LI)*(BeginY+CurrH)/(WindowHeight-1)????4???S???HI=HI-(HI-LI)*BeginY/(WindowHeight-1)???????S???LI=Temp??????? ???MJPic????&?????    ??MJPic??ram:CanDoMJPic?????"???@?
  48. ??MJSettings???Reset??
  49. ╠?SavePic???????Z????Options??????e???topaz?????????????????????????????????????????? Save Picture ???????u????????g?    ???????~?
  50. ??S?????6???S???FNNew=AskForFileName(FN,"Save Picture")???????A???FNNew<>""???????S???FN=FNNew???????? ???MJPic???????????MJPic??FN????? ???"????
  51. ╠?SetColors???????Z????Options??????e???topaz?????????????????????????????????????????? Set Colors ???????u????????g?    ???????~?
  52. ??C?????,???N???CanDo:Decks/ColorChange??CC?????"???f???CC???ChangePalette??
  53. ╠?ToMJSettings????????Z????Options??????e???topaz?????????????????????????????????????????? To Settings ??????u????????g?    ???????~?
  54. ??T???????? ???MJPic????&???????MJPic??ram:CanDoMJPic?????"???@???MJSettings???Reset??
  55. ????.???u??? ;Draw picture using CanDo code???????A???Arg1="GO"???????┴??????4???S???SR=(HR-LR)*Resolution/(WindowWidth-1)????6???S???SI=(HI-LI)*Resolution/(WindowHeight-1)????? ???S???HC=WindowColors-1???????S???LC=0?????"???u??? ;Begin iterations????????S?    ??X=0???????S?
  56. ??Y=0???????S? ??R=LR????????S? ??I=HI?????$???u?
  57. ?? ;Plot Mandelbrot set???????A???PlotType="M"????????«???Y<WindowHeight????????«???X<WindowWidth???????S???LoopR=0???????S???LoopI=0???????S???Count=0???? ???`??????.???S???Temp=LoopR*LoopR-LoopI*LoopI+R?????$???S???LoopI=2*LoopR*LoopI+I???????S???LoopR=Temp?????,???A???(LoopR*LoopR+LoopI*LoopI)>4.0???? ???,?????? ???"?????????S???Count=Count+1???????ü???Count>=MaxDwell???????⌐???Count???????A???Resolution=1???????????X??Y???? ???? ?????0????!??X??Y??Resolution???Resolution????? ???"?"????????S?#??X=X+Resolution????????S?$??R=R+SR????? ???#?%????????S?&??X=0???????S?'??R=LR????????S?(??Y=Y+Resolution????????S?)??I=I-SI????? ???#?*????? ???u?+?? ;Plot Julia set???????? ?,??PlotType="J"????????«?-??Y<WindowHeight????????«?.??X<WindowWidth???????S?/??LoopR=R???????S?0??LoopI=I???????S?1??Count=0???? ???`?2?????,???A?3??(LoopR*LoopR+LoopI*LoopI)>4.0???? ???,?4????? ???"?5????????S?6??Count=Count+1????.???S?7??Temp=LoopR*LoopR-LoopI*LoopI+JR????&???S?8??LoopI=2*LoopR*LoopI+JI????????S?9??LoopR=Temp????????ü?:??Count>=MaxDwell???????⌐?;??Count???????A?<??Resolution=1?????????=??X??Y???? ????>?????0???????X??Y??Resolution???Resolution????? ???"?@????????S?A??X=X+Resolution????????S?B??R=R+SR????? ???#?C????????S?D??X=0???????S?E??R=LR????????S?F??Y=Y+Resolution????????S?G??I=I-SI????? ???#?H????? ???"?I?????*???u?J?? ;Draw picture using C code??????? ?K??Arg1="GOC"?????8???S?L??Command="RCF:C_Progs/CanDoMJC/CanDoMJC "?????2???S?M??Command=Command||WindowAddress||" "????.???S?N??Command=Command||MaxDwell||" "?????0???S?O??Command=Command||Resolution||" "?????B???S?P??Command=Command||LR||" "||HR||" "||LI||" "||HI||" "????.???S?Q??Command=Command||PlotType||" "?????,???S?R??Command=Command||JR||" "||JI?????????S??Command??????? ?T??Arg1="SEE"?????&???]?U??ram:CanDoMJPic???MJPic?????????V??MJPic???? ???"?W???
  58.